package com.atguigu.demo.config;

import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;

@ConfigurationProperties(prefix = "atguigu")
public class AtguiguConfig {

    private String schoolName;
    private List<String> infoList;
    private Integer schoolAge;

    public String getSchoolName() {
        return schoolName;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }

    public List<String> getInfoList() {
        return infoList;
    }

    public void setInfoList(List<String> infoList) {
        this.infoList = infoList;
    }

    public Integer getSchoolAge() {
        return schoolAge;
    }

    public void setSchoolAge(Integer schoolAge) {
        this.schoolAge = schoolAge;
    }

    public AtguiguConfig() {
    }
}
